<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/common/common.jsp"%>
<html lang="zh-CN">
  <head>
  	<link href="${r"$"}{pageContext.request.contextPath}/resource/css/def/ztree/metro.css" rel="stylesheet">
  	<link href="${r"$"}{pageContext.request.contextPath}/resource/css/def/bootstrap/ace/ace-part2.min.css" rel="stylesheet">
  	<link href="${r"$"}{pageContext.request.contextPath}/resource/css/def/bootstrap/ace/ace.css" rel="stylesheet">
  	<link href="${r"$"}{pageContext.request.contextPath}/resource/css/def/frm/common/common.css" rel="stylesheet">
  	<script src="${r"$"}{pageContext.request.contextPath}/resource/js/jquery/plugin/handlebars-v3.0.1.js"></script>
  	<script src="${r"$"}{pageContext.request.contextPath}/resource/js/${mapperBean.jspListJsFileCatalog}/${mapperBean.jspListJsName}"></script>
  	<script src="${r"$"}{pageContext.request.contextPath}/resource/js/bootstrap/validator/bootstrapValidator.js"></script>  	
  </head>
  <body style="background-color:#fff;">
  	<!-- 查询 -->
  	<div class="head-title">标题</div>
  	<div class="body">
  	 <div class="container-fluid" id="searchId">
  		<div class="row">
  			<form action="" class="form-inline form-left" method="post" autocomplete="off" style="margin-bottom:10px">
				<#--组装查询-->
				<#list beanList as column>
					<#--为查询条件-->
					<#if column.isSelect='1'>
						<div class="input-group col-sm-3 free-3">
							<label class="input-group-addon" for="${column.newColumnName}">${column.displayComment!''}</label>
							<input type="text" class="form-control" id="${column.newColumnName}" placeholder="${column.displayComment!''}">
						</div>
					</#if>
				</#list>			
  			<div class="div-button col-md-pull-3">
  					<a type="button" class="btn btn-info" onclick="search4Page();"><i class="ace-icon glyphicon glyphicon-search"></i>查询</a>
  					<a type="button" class="btn btn-info" onclick="searchReset();"><i class="ace-icon glyphicon glyphicon-repeat"></i>重置</a>
					  <a type="button" class="btn btn-success" onclick="showAddPage();"><i class="ace-icon glyphicon glyphicon-plus align-top bigger-125"></i>新增</a>
  			</div>
  		 </form>
  		</div>
  		<hr>
  		<div class="row">
  			<!-- 列表 -->
  			<table id="searchTable" class="display table table-bordered" cellspacing="0" width="100%">
  			</table>
  		</div>
  	 </div>
  	</div>
  </body>
</html>
